// 通用基础样式
@import 'ui/index.scss';
@import 'flex.scss';
@import 'three.scss';
@import 'transition.scss';
@import 'vars.scss';

img {
	user-select: none;
	-webkit-user-drag: none;
}

.clearfix {
	@include clearfix;
}

.juzhong_transform {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
}

.pointer {
	cursor: pointer;
}

.block {
	display: block;
}

.inline {
	display: inline-block;
}

.fr {
	float: right;
}

.fl {
	float: left;
}

/** 文字显示与隐藏 */
.ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tl {
	text-align: left;
}

.tr {
	text-align: right;
}

.tc {
	text-align: center;
}

.pre {
	white-space: pre-wrap;
	font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif;
}

.fw {
	font-weight: bold;
}
// 自适应剩余宽/高
.f1 {
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-webkit-flex-shrink: 1;
	-ms-flex-negative: 1;
	flex-shrink: 1;
}
// 自身高度不变
.f0 {
	-webkit-box-flex: 0;
	-webkit-flex-grow: 0;
	-ms-flex-positive: 0;
	flex-grow: 0;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
.overflow-auto {
	overflow: auto;
}
.overflow-hidden {
	overflow: hidden;
}
.overflow-x-auto {
	overflow-x: auto;
}
.overflow-y-auto {
	overflow-y: auto;
}
.overflow-x-hidden {
	overflow-x: hidden !important;
}

.overflow-y-hidden {
	overflow-y: hidden !important;
}
.pull-right {
	float: right;
	display: inline;
}

.position-relative {
	position: relative;
}
.pr {
	position: relative;
}
.pa {
	position: absolute;
}

// 自定义滚动条
@include scroll-bar(4px, rgba(65, 119, 227, 0.1));

.three {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	box-shadow: inset 0px 0px 250px 50px rgba(13, 16, 24, 0.9);
}
